package com.ebupt.migu.music.push.controller;

import com.ebupt.migu.music.push.service.PushTaskService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author liuyangyang@e-byte.com
 * @description: TODO
 * @date 2024/3/28 14:13
 */
@RestController
@RequestMapping("/test")
public class ForMediaAPPTestController {
    @Resource
    private PushTaskService pushTaskService;

    @PostMapping("/media")
    public String media(@RequestParam String activityId){
        return pushTaskService.media(activityId);
    }
}
